package com.yhsoft.benefitcard.mapper;

import com.yhsoft.benefitcard.controller.response.CardsInfoOutVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ReportMapper {
   @Select("select second_bantch_num,benefit_cards_num,benefit_cards_password  from benefit_cards_info where first_batch_num = #{firstBatchNum}")
    List<CardsInfoOutVo> select(Class<CardsInfoOutVo> cardsInfoOutVoClass, String firstBatchNum);

    @Select("select second_bantch_num,benefit_cards_num,benefit_cards_password  from benefit_cards_info where second_bantch_num = #{batch2Num}")
    List<CardsInfoOutVo> select2(Class<CardsInfoOutVo> cardsInfoOutVoClass, String batch2Num);
}
